/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.wisnu.scs.event;

import com.wisnu.scs.entity.DbBarang;
import com.wisnu.scs.entity.DbBarangRekap;
import com.wisnu.scs.model.DbBarangModel;
import java.util.Date;
import java.util.List;

/**
 *
 * @author Wisnu Wardoyo
 */
public interface DbBarangListener {

    void onReset(DbBarangModel barangModel);

    void onInsert(DbBarang barang);

    void onUpdate(DbBarang barang);

    void onDelete(DbBarang barang);

    void onSearch(List<DbBarang> barang);

    void onSearchByDate(List<DbBarang> barang, Date date);

    void onSearchByDateRange(List<DbBarang> barang, List<Date> dateList);

    void onSearch(List<DbBarang> barang, List<DbBarangRekap> barangRekap);

}
